package com.nulstudio.sppm.domain.vo;

import java.math.BigDecimal;

public final class InventoryVo {
    private int id;

    private int commodityId;

    private String commodityName;

    private BigDecimal quantity;

    private String supplierName;

    private BigDecimal costPrice;

    public InventoryVo(int id, int commodityId, String commodityName, BigDecimal quantity, String supplierName, BigDecimal costPrice) {
        this.id = id;
        this.commodityId = commodityId;
        this.commodityName = commodityName;
        this.quantity = quantity;
        this.supplierName = supplierName;
        this.costPrice = costPrice;
    }

    public InventoryVo() {
        
    }

    public int getId() {
        return id;
    }

    public int getCommodityId() {
        return commodityId;
    }

    public String getCommodityName() {
        return commodityName;
    }

    public BigDecimal getQuantity() {
        return quantity;
    }

    public String getSupplierName() {
        return supplierName;
    }

    public BigDecimal getCostPrice() {
        return costPrice;
    }

    private void setId(int id) {
        this.id = id;
    }

    private void setCommodityId(int commodityId) {
        this.commodityId = commodityId;
    }

    private void setCommodityName(String commodityName) {
        this.commodityName = commodityName;
    }

    private void setQuantity(BigDecimal quantity) {
        this.quantity = quantity;
    }

    private void setSupplierName(String supplierName) {
        this.supplierName = supplierName;
    }

    private void setCostPrice(BigDecimal costPrice) {
        this.costPrice = costPrice;
    }
}
